<script>
	export default {
		onLaunch(e) {
			uni.setStorage({
				key: "popUp",
				data: true
			})
			this.$http.get("user/login").then(res=>{
				uni.setStorage({
					key: 'rank',
					data: res,
					success: function () {
						console.log('success');
					}
				});
			})
		},
		onShow() {
		},
		onHide() {
		}
	}
</script>

<style lang="scss">
	@import "@/common/comm.scss";
	page{
		height: 100%;
		// background-image: url(./static/img/bg.png);
		background-color: #FFFFFF;
		background-size: 100%  auto;
	}

	.u-notice-bar{
		padding: 0 !important;
	}
	.navigator-hover{
		background: none;
	}
	.clearBox{
		overflow: hidden;
	}
	.fl{
		float: left;
	}
	.fr{
		float: right;
	}
	.flex{
		display: flex;
	}
	.flexBox{
		display: flex;
		align-items: center;
	}
	.flex_ct{
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.flex_bt{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.flex_ar{
		display: flex;
		justify-content: space-around;
		align-items: center;
	}
	.flex_column{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.flexItem{
		flex: 1;
	}
	.tc{
		text-align: center;
	}
	.tr{
		text-align: right;
	}

	/* 清除浮动 */
	.clearfix:after {
	 content: ".";
	 display: block;
	 height: 0;
	 clear: both;
	 visibility: hidden;
	}
  .uni-page-head-transparent{
    background-color: rgba(256,256,256,0)!important;
  }
  .uni-page-head-transparent .uni-page-head-btn{
    background-color: rgba(256,256,256,0)!important;
    .uni-btn-icon{
      color: rgb(0, 0, 0)!important
    }
  }
  .uni-transition{
    background-color: rgba(0,0,0,.7)!important;
  }
</style>
